package com.tbryant.test.designpattern.zenofdesignpattern.abstractfactory.definition;

/**
 * @author TBryant
 * @date 2021/10/26 14:20
 */
public class Client {
    public static void main(String[] args) {
        AbstractProductFactory productFactory1 = new ProductFactory1();
        AbstractProductFactory productFactory2 = new ProductFactory2();

        AbstractProductA productA1 = productFactory1.createProductA();
        AbstractProductA productA2 = productFactory2.createProductA();

        AbstractProductB productB1 = productFactory1.createProductB();
        AbstractProductB productB2 = productFactory2.createProductB();
    }
}
